package io.github.talelin.latticy.dto;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * @ClassName BannerDTO
 * @Description TODO
 * @Author wushaopei
 * @Date 2021/10/17 21:51
 * @Version 1.0
 */
@Setter
@Getter
public class BannerDTO {
    @NotBlank
    @Length(min = 2,max = 20)
    private String name;

//    @Length(min = 2,max = 30)
//    private String title;
//
//    @Length(min = 2,max = 256)
//    private String description;
//
//    @Length(min = 2,max = 256)
//    private String img;

}
